package com.maimao.core.model.search;

import java.io.Serializable;

/**
 * kafka发送失败的消息
 * @author MaoLin Wang
 * @date 2021/1/3 8:10 下午
 */
public class ErrorMessage implements Serializable {


    private static final long serialVersionUID = -7287865118527107489L;

    private Object value;

    private String type;

    public ErrorMessage(Object value, String type) {
        this.value = value;
        this.type = type;
    }


    public ErrorMessage() {
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
